Is there any R GUI not using the client-server approach? - r

Most people uses RStudio, at least on Windows, but it has a problem, it connects to R using TCP, through 127.0.0.1 port 8787.
That causes problems in many computers, related with the antivirus, the firewall and performamnce issues.
Sometimes they can be solved modifying the settings of the computer, but that's not always possible.
I think other GUI use the same approach.
Is there any other alternative? With R embedded in the program itself or with other kind of communication between executables.
I think the same problem goes for other GUI-scientificsoftware combinations such as Julia.

You could give R Tools for Visual Studio a try.
R Tools for Visual Studio (RTVS) is a free, open-source extension for Visual Studio 2017 and Visual Studio 2015 Update 3 (or higher), released under the MIT license. (A second open-source component called RHost, which links to the R interpreter binaries, is released under the GNU Public License V2.)

Use ESS for Emacs, works on Windows, Mac, and Linux.

Related

Is it possible to write R programs on Visual Studio 2022? And if yes, how to add it?

It seems that Microsoft has removed R support from Visual Studio starting from the 2019 version.
I'm wondering if there's a way to write R code for Data Science on Visual Studio 2022 (Not VS Code) because I don't feel like using another IDE.
I've looked all over the internet and I could only find solutions for VS Code.
I've also seen some Microsoft documentation about it but I couldn't apply it.
After long research, I have come to the conclusion that working with R on Visual Studio is no longer possible.
One must use R Studio IDE instead, which also allows access to graphing tools and so on.

How does Ada access Windows 8.1/10 APIs, and can 64 bit programs for Windows be generated?

I am considering to learn Ada. I found several resources online, and Programming in Ada 2012 by Barnes is on its way to here, so that should get me started.
The target machines for the future Ada programs are Intel 64 bit, and the target OSes are Win 8.1 and Win 10.
However, I was not able to find an example on how to interact with the Windows API in order to draw and manipulate Windows. Could someone please direct me to a source, so that I can have a look at how such code would look like?
Also, all I've read so far indicates, that Ada compiles only 32 bit executables for Windows. Is it correct that I can not generate true 64 bit Windows programs?
The recent GNAT community release does target 64bit. An alternative is TDM-GCC which has provided a GNAT release targeting 64bit for a while.
There is Win32Ada which is a binding to the Windows API. However, I don't think it has been updated with new APIs of Windows 8.1 or Windows 10. However, you can always import functions from the Windows API into Ada yourself.
There is GtkAda which allows you to use GTK to create GUIs. However, these are not „native“ Windows GUIs.

Installing MPI for Windows

I am trying to install MPI for Windows 8, so when I searched net I got steps for installing it on XP/7 but not for windows 8. The link is: http://swash.sourceforge.net/online_doc/swashimp/node9.html
But firstly when I have to allow mpi.exe and smpd.exe to communicate through firewall these exe files are not listed.
Secondly, when I run cmd(as administrator) and type : "smpd -install",
it says : "Unknown option: -install". I guess the command for windows 8 is something else.
So I will be really grateful if anyone helps with it because I'm not able to proceed further.
Side note before I start, MPI is a standard, not a library that you install. MPICH, Open MPI, Intel MPI, MS-MPI, etc. are all implementations of that standard. When you say you're trying to do X with MPI and you're asking for help, mention which implementation (and version) you're using.
Based on your question, I'm assuming that you're trying to install MPICH, though which version is unclear. MPICH hasn't supported Windows since version 1.4.1p and even that version doesn't have any support from the MPICH team anymore as all of the Windows experts are now gone. I'd suggest that you take a look at one of the implementations that do currently support Windows. The only two I know of are MS-MPI (free) and Intel MPI (paid - Update: Now free for most users), though there are probably others out there that I don't know about. If you still have trouble after trying one of those implementations, they have their own support teams that can help you with your problem.
I am not sure which version of MSMPI you were talking about but here is the webpage you should download the latest MSMPI which also supports Win 8.1.
You just need to double click and follow the instructions of installer.

I want to run Turbo C++ in my 64bit laptop? But I can't find any version that support 64bit platforms

I want to run Turbo C++ in my 64bit laptop? But I can't find any version of tc that support 64bit platforms.
Do you know of any place I can download a compatible version?
Not off the top of my head, but you could run up a 32 bit VM and use that.
If it is a DOS application, then you can run it in virtual machine or in DosBOX. Although DosBOX made for running DOS games, it should handle Turbo C and it is easier to set up than full VM.
Your best bet is to run it in a virtual machine like Bochs, which specialises in emulating the older stuff.
You can run FreeDOS inside it so you're not bothered by licensing issues, although it will run MS DOS if you have a valid copy.
But I have to admit, I agree with your commenters. You'd be better off teaching your students with a more modern compiler. Code::Blocks springs to mind and Microsoft themselves release a free (as in cost, not freedom) Visual C package.

best way to get started in setting up Mono for ASP.NET on Mac

I have recently gained access to a Mac. I am wondering if anyone has any tips/advice for setting up Mono on a mac for development and execution of ASP.NET? Most resources point to Linux implementations which tend to differ a lot from the way Mac's do things. Any tips or advice would be helpful
To launch the development ASP.NET server, just open a terminal window and run the "xsp2" command from the Mono installation.
The only thing that is missing from the Mono distribution on the Mac compared to Linux is the Apache module, that one you will have to compile yourself if you want to deploy your application in production on OSX.
Since I first worked with mono osx, they've added Cocoa# and ObjC#, but the ASP.NET core was pretty solid (about 3 years ago). You can in fact write web applications according to the Onion book, and port 'em to IIS with little or no difficulty.
Honestly if you want to run ASP.NET you probably don't want to struggle with getting it to run via mono on MacOS. Intel-based Macintoshes can boot Windows, and Apple provides Windows drivers for their various devices as part of Boot Camp.
Alternately you can buy Parallels or VMWare Fusion for less than $100. I use VMWare Fusion. There is also a Mac version of VirtualBox from Sun which is free, though I have never used it.
For MacOS development (not .Net) you really should try Apple's XCode. It is free. It primarily focuses on Objective C though Python, Ruby, and other languages can be used to develop native Mac applications.
Edit 9/22: I'm sorry neither you nor Kev found this a useful answer. Let me try to expand a bit: the Macintosh has a long history of software being ported in from Windows, applying a theme to make the GUI elements look Mac-like but otherwise being content with a minimum cost port. Such software never behaves like a real Mac application: it doesn't respond to AppleEvents, it won't be scriptable, it handles only the cross-platform clipboard formats, etc.
You're free to do whatever you want, including running ASP.NET using mono. If its for your personal use, knock yourself out. However if you're considering it as a way to offer your web-enabled product in a Mac version, I urge you to reconsider. The Mac market has for the most part rejected such products. You'll get some sales, but nothing like you would get for an app which behaves like a native Mac application.
Now, let the down-voting continue.
You can also run ASP.NET via NGINX - easy to install using:
sudo brew install nginx
See installation tutorial: http://www.robertmulley.com/tutorial/nginx-install-and-setup-mac-os-x-mavericks/
See configuration steps for your app: http://www.mono-project.com/docs/web/fastcgi/nginx/
(Note: see my pull request as the fastcgi-mono-server4 should now be used - https://github.com/mono/website/pull/82/files)
Why use Mono on a Mac? Run Parallels, VMWare, or Boot Camp.

Resources