How to add multiple authors and multiple affiliations in Rmarkdown - r-markdown

In working with a Rmarkdown file, I would like to compile it so as to generate a Word file as output. Other similar questions here are more specific for Beamer(Latex). Any suggestion?
My session info is
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS

The pandoc manual describes an institute field
institute: author affiliations (in LaTeX and Beamer only). Can be a list, when there are multiple authors.
I don't think you'll be able to get multiple authors with affiliations to a Word file.

Related

How to save c++ code file using visual code?

I downloaded the C++ extension of Visual Studio. How do I save it and how do I open it to see my code?
Usually, with HTML, I save as .html and when I open the file, I can see it on google chrome
see image
C++ is very very different from HTML. HTML can, as you know, easily be opened in a browser and viewed.
C++ is a programming language and must be compiled and run. There are many ways to do this and largely depends on the operating system you are using and software you have installed.
Since you are using VSCode you will likely want to use the terminal to compile and run it. Try looking at something like g++. You can find lots of tutorials online just by googling "compiling c++".
You may find it easier when just starting out with C++ to try it out a bit using a site such as repl.it which will let you write simple programs fairly easily.
If you provide a bit more info such as which operating system you are on I can help provide a specific example.
Will split my answer into three main points:
Small introduction.
Installation.
Additional resources.
Small Introduction
C++ works differently than HTML.
The main difference (there are more!) is that C++ files need to be compiled before they can be used. And that requires a compiler.
There are various compilers available for C++.
Installation
Assuming that OP is using Windows, assuming that VS Code is installed, there are a few additional requirements:
Install C++ extension for VS Code (this one).
Install the latest version of Mingw-w64 (from here). This one provides one with up-to date builds of GCC, Mingw-w64, and other C++ tools/libraries. Make sure you follow all the steps mentioned in MSYS2 installation guide (for a detailed installation guide go here).
Add Mingw-w64 bin folder to Windows PATH environment variable.
3.1. Access Settings and type in the search bar "Edit environment variables for your account"
3.2. In the User variables, select the Variable Path and click Edit.
3.3. Add the location of the Bin folder, the default should be C:\msys64\mingw64\bin and click OK.
Note: In order to check if the installation was successful, open a new CMD window, and run g++ --version. The output should look like
If one runs gdb --version the output should be
You are now ready to go.
Additional resources
If you want to learn how to create Hello World using C++ on VS Code, go here.
Additional resources that may be relevant:
GCC on Windows
For GCC on Linux
For GCC on WSL (Windows Subsystem for Linux)
There are plenty of C++ online compilers that one might want to use for faster testing, such as W3Schools. These can be quite handy as they allow one to view the result in one's browser.

Upgrade Infragistics dlls from vesrion 11.1 to 18.1

We are using the follow Infragistics dlls in project.
Infragistics35.Web.v11.1
Infragistics35.WebUI.Documents.Core.v11.1
Infragistics35.WebUI.Documents.Excel.v11.1
Infragistics35.WebUI.Documents.Reports.v11.1
Infragistics35.WebUI.Misc.v11.1
Infragistics35.WebUI.Shared.v11.1
Infragistics35.WebUI.UltraWebGrid.DocumentExport.v11.1
Infragistics35.WebUI.UltraWebGrid.ExcelExport.v11.1
Infragistics35.WebUI.UltraWebGrid.v11.1
Infragistics35.WebUI.UltraWebListbar.v11.1
Infragistics35.WebUI.UltraWebNavigator.v11.1
Infragistics35.WebUI.WebCombo.v11.1
Infragistics35.WebUI.WebDateChooser.v11.1
Can i upgrade to the latest version 18.1 without changing code?
I recently updated my entire solution (80+ projects) from IG 12.2 to 16.2. As Jackdaw mentioned there is a version upgrade utility. Within VS I was able to right-click on each project and run the upgrade from there. I had no issues whatsoever. Unfortunately IG 16.2 is the most recent version approved by my security folks, but I can't imagine going from 11.1 to 18.1 would be any different.
You wouldn't be able to do so, without any code changes, because those controls were retired in the very next version Infragistics ASP.NET 2011 vol2.
Changes after version ASP.NET 2011 vol.2
There are several sources you could use to make the upgrade easier for you:
Product Changes fully described for 2011 vol.2
New controls starting from ASP.NET 2011 Vol.2
And a helpful document describing some of the changes that you could easily perform when migrating from the old control to a new one in the following cheat sheet.

How to get installed version of Microsoft Visual C++ Redistributable(x64) in mfc application

I working on mfc application in which I need to check currently installed version Microsoft Visual C++ Redistributable.
Is there any way?
Each VS Version has its own redistributable files and they are named with a version number in the name.
So there is no "current" version. There may be several installations for different VS-Versions.
Usually the files are installed in the Windows\System32 directory for 64bit. So lookup the file you need and search for (i.e. MFC140u.dll) and you can determine it's version.
Also some programs may have a local copy of the runtime DLLs in their application directory...
I’ve written an application that inspects the customer installation. It works somewhat like the Microsoft Troubleshooters in that it identifies certain information about the user installation so that our tech support people can identify a potential problem with the customer installation. One of the things it reports on is the VC redistributables that are installed.
I accomplish this by interrogating the following LOCAL MACHINE registry key:
SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall
The code iterates through the sub-keys looking for a match on the “DisplayName” attribute of each sub-key. I look for “Microsoft”, “Visual”, “C++”, and “Redistributable”. If all strings are found, I collect the “DisplayVersion” attribute and report it to a dialog.
While this scheme will not indicate the "current" version, it should provide access to all versions that are installed.

UI of Sitecore CMS os available in how many languages to editors?

while working in sitecore, the UI of it is available in how many languages. For example, the translated string of 'OK' 'Cancel', 'Error' etc kind of messages are present by default, or we need to install separately?
You can install a CMS client translation files to run the Sitecore Client in an alternative language, Depend on the version there are some languages available.
For Sitecore 6 and 7 see: CMS Client Translations
For Installing. In Sitecore Open the Control Panel > Globalization > Import Languages from a File.
For version 8 and higher there are also Client Languages packs available on the newer dev.sitecore.net here too it varies by version which languages there are. usually it takes some time when there is a new version.
The UI is available in English, Danish, German, and Japanese (4), based on the the client translation packs listed on the Sitecore 8.1 download page.

Simplified Chinese translation for Jomsocial 2.4

I am new to joomla and I am searching for simplified Chinese translation pack for jomsocial 2.4. There are some simplified Chinese language packs on the net but they are not compatible to the jomsocial 2.4. I am using joomla version 2.5.6.
Thanks in advance.
There isn't one as of present. You can find the latest progress here though - as the translations get done this page will get updated as well.
Also on a unrelated note you should upgrade your Joomla version to 2.5.8 as 2.5.8 contained a important security fix