Displaying 20 results from an estimated 20000 matches similar to: "Why "\\" instead of simple "/" to specify a file path"
2010 Mar 22
2
Fw: Re: Why "\\" instead of simple "/" to specify a file path [modified]
Hi, I was following this thread and would like to ask is there any way to save and open a .RData file after using some Password. What I mean to say, how to make my workplace password-protected?
Also would like to know how same can be done for .R file.
Thanks for your time.
Thanks and regards,
--- On Tue, 23/3/10, David Winsemius <dwinsemius@comcast.net> wrote:
From: David Winsemius
2017 Oct 09
1
load() failed to load .Rdata file in AWS-Ububtu
Hi Eric, thanks for your further pointer.
I have put a line with load() function just as an illustration of a
bigger project of mine, which appears failing due to load() function
issue.
If I comment out that line my shiny app is working correctly locally
and globally.
otherwise, locally my shiny app is working but not with AWS.
On Mon, Oct 9, 2017 at 12:37 PM, Eric Berger <ericjberger at
2017 Oct 08
2
load() failed to load .Rdata file in AWS-Ububtu
Thanks Eric for your pointer. However I just altered the argument of
load() function a little bit to get that loaded. Below is the line
what I tried.
ubuntu at ip-172-31-23-148:~$ R
R version 3.4.2 (2017-09-28) -- "Short Summer"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO
2017 Oct 09
0
load() failed to load .Rdata file in AWS-Ububtu
Hi Christofer,
The shiny code you have written does not depend on loading the Dat.RData
file.
I commented out that line and ran your shiny app on my machine and it works
fine.
What happens if you comment out (or remove) the line
load("/home/ubuntu/Dat.RData)
Does your shiny app still fail? If so, then your problem is quite basic
with your AWS setup.
Try to work through a simple
2017 Oct 07
2
load() failed to load .Rdata file in AWS-Ububtu
Hi again,
I hope this is the right place to post my question on running R within
Ubuntu, however if not, any pointer on right distribution list will be
helpful.
I am currently using R in Ubuntu which is hosted in Amazon - AWS.
I have a .Rdata file in AWS which I am trying to load in R. Used
following code, however, fails to load showing some permission issue.
However that same .Rdata file is
2017 Oct 07
0
load() failed to load .Rdata file in AWS-Ububtu
Hi Christofer,
The directory /srv/shiny-server would normally be owned by the root user.
Your options would seem to be to either (1) bring up the R session as root
(dangerous)
or (2) try copying the file to your local directory and read it from there
(if allowed).
e.g. from the Unix shell:
> cd ~ (i.e. cd to your home directory)
> cp /srv/shiny-server/Dat.Rdata . (Note the '.' at
2011 Aug 20
4
I have a problem with R!!
Dear all
i?m working with a program i?ve made in R (using functions that others
created)
to run my program i need a sample. if i generate the sample using for
example, rnorm(n, mu, sigma) i have no problem
but if i obtain a sample from a column in excel and i copy it, the program
says that there is a mistake: it says "Error en `[.data.frame`(data,
indices) : undefined columns
2024 Sep 07
4
Reading a txt file from internet
Hi,
I am trying to the data from
https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
without any success. Below is the error I am getting:
> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
Error in make.names(col.names, unique = TRUE) :
invalid multibyte string at '<ff><fe>t'
In
2012 Dec 19
2
Copy data from Excel
Hello again,
I my day to day calculation, I need to take lot of data from Excel and
forth and generally I use 'clipboard' option with read.delim() function.
However many time, the data in Excel are like '(111,000)' instead of
'-111000'. Generally I convert data in the 2nd form in Excel itself and
then copy to clipboard.
Is there any option in R, so that I can
2011 Mar 28
1
problem in simple saving and loading data frames
Dear all
My dataframe has > 80,000 variables which I can not everytime load into R
using *.txt files (read.table option), cost me time and sometime computer
decomes not responsive. So I need a way to save my dataframe in my
workdirectory as such.
Execuse me if the problem is too simple. I tried the following, I do not
know what is wrong with it:
Example data:
x <- 1:10
y <- 21:30
z
2024 Sep 08
1
Reading a txt file from internet
On 2024-09-07 7:37 p.m., Jeff Newmiller wrote:
> I tried it on R 4.4.1 on Linux Mint 21.3 just before I posted it, and I just tried it on R 3.4.2 on Ubuntu 16.04 and R 4.3.2 on Windows 11 just now and it works on all of them.
>
> I don't have a big-endian machine to test on, but the Unicode spec says to honor the BOM and if there isn't one to assume that it is big-endian data.
2024 Sep 07
1
Reading a txt file from internet
That looks like a UTF-16LE byte order mark. Simply open the connection
with the proper encoding:
read.delim(
'https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt',
fileEncoding = "UTF-16LE"
)
On Sat, Sep 7, 2024 at 3:57?PM Christofer Bogaso
<bogaso.christofer at gmail.com> wrote:
>
> Hi,
>
> I am trying to the data from
>
2009 Aug 19
4
Several simple but hard tasks to do with R
Hello everybody. I've been learning R for about a month to do a
econometric study and now i'm stuck with some problems to make R do the
things I want. Here I give the list of things I wanna do from the most
simple to the more complex (for me of course):
1. Make a log. I've been using Stata and there i have a great tool to
register what the program do: the log file, wich it's a
2010 Feb 07
2
problems with samba share
Hi everyone,
I want to achieve the following setup:
- have a share that is read-only and accessible for guest users;
- have the same share be modified by an authenticated specific user.
This is running on debian lenny, samba 3.2.5.
My smb.conf is as follows:
[global]
workgroup = WORKGROUP
netbios name = cast
remote announce = 192.168.1.99/WORKGROUP
server string = %h
2024 Sep 07
1
Reading a txt file from internet
When you specify LE in the encoding type, you are logically telling the decoder that you know the two-byte pairs are in little-endian order... which could override whatever the byte-order-mark was indicating. If the BOM indicated big-endian then the file decoding would break. If there is a BOM, don't override it unless you have to (e.g. for a wrong BOM)... leave off the LE unless you really
2024 Sep 07
1
Reading a txt file from internet
On 2024-09-07 4:52 p.m., Jeff Newmiller via R-help wrote:
> When you specify LE in the encoding type, you are logically telling the decoder that you know the two-byte pairs are in little-endian order... which could override whatever the byte-order-mark was indicating. If the BOM indicated big-endian then the file decoding would break. If there is a BOM, don't override it unless you have to
2024 Sep 07
1
Reading a txt file from internet
On Sun, 08 Sep 2024, Christofer Bogaso writes:
> Hi,
>
> I am trying to the data from
> https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt
> without any success. Below is the error I am getting:
>
>> read.delim('https://online.stat.psu.edu/onlinecourses/sites/stat501/files/ch15/employee.txt')
>
> Error in make.names(col.names,
2024 Sep 07
1
Reading a txt file from internet
I tried it on R 4.4.1 on Linux Mint 21.3 just before I posted it, and I just tried it on R 3.4.2 on Ubuntu 16.04 and R 4.3.2 on Windows 11 just now and it works on all of them.
I don't have a big-endian machine to test on, but the Unicode spec says to honor the BOM and if there isn't one to assume that it is big-endian data. But in this case there is a BOM so your machine has a buggy
2008 Nov 18
1
Sweave
Dear All,
I have both R 2.80 and Scientific Workplace 5.5 installed on my computer.
I copied the following commands from HTML help provided by R:
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
Sweave(testfile)
I then compile Sweave-test-1.tex file using Scientific Workplace 5.5. Apparently, Scienfic Workplace 5.5 does not recognize
1997 May 08
1
R-beta: Two simple suggestions.
1) The .RData file (and S .Data area) are cputype dependent. When R is used
from different types of machines (say, HP and Sun) that share a common
filesystem (say afs or dfs) then loading the wrong type of .RData file can
lead to mysterious behaviour. In my environment, undergraduate students are
the most likely to log into different cputypes, and they end up being quite
confused. To