Skip to content

Error: unexpected symbol in "read.csv(12agosto.csv after installing Monterey

4 messages · cuev@s m@iii@g oii cicese@mx, David Winsemius, Richard M. Heiberger +1 more

#
\n<<SEND AS PLAIN TEXT!>>\n\n \n<<Write your query here, using your example code to illustrate>> \n<<End with your name and affiliation>>\n\n\n\n
--please do not edit the information below--

R Version:
platform = aarch64-apple-darwin20
arch = aarch64
os = darwin20
system = aarch64, darwin20
status = 
major = 4
minor = 1.2
year = 2021
month = 11
day = 01
svn rev = 81115
language = R
version.string = R version 4.1.2 (2021-11-01)
nickname = Bird Hippie

GUI:
R-GUI 1.77 (8007)

Locale:
en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

Search Path:
.GlobalEnv, tools:RGUI, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods,
Autoloads, package:base


--------------------------------------
Horacio, de la Cueva, PhD
CICESE
Biolog?a Experimental y Aplicada
Carretera Ensenada Tijiuana No. 3918
Zona Playitas,
Ensenada BC
22760
M?xico

US Mailing Address:
P.O. Box, 430222
San Ysidro, CA 92143

cuevas at cicese.mx
cohevolution at gmail.com
cohevolution at icloud.com
https://horaciodelacueva.blogspot.mx/
cel +52 646 171 5485

ORCID
0000-0002-5280-6458

Web of Science ResearcherID  
ABA-4045-2020.
#
There is a dedicated mailing list for Mac specific questions. You should 
subscribe before posting further but your first posting will still get 
moderated so don't send second postings because you think it's taking 
too long:

r-sig-mac at r-project.org

And I'm a Mac user but do not understand what code was used. And I don't 
think the complete error message was included on the subject line. You 
should paste the complete code that was used and indicate whether it 
occurs with every file or only one particular file or file name. And do 
include the complete error message in the body of the email.

(I'm wondering if there could be an issue with encoding of a file name 
since you are using a US locale but the MacOS may be set for a Mexican 
locale.)
#
yes, follow David Winsemius' advice.

In this example, it looks not to be a mac issue, but a new R user issue.
The partial message in the subject says

read.csv(12agosto.csv

The correct syntax is to quote the name of a file, so it should be

read.csv("12agosto.csv")
#
It looks as though you ran

  read.csv(12agosto.csv)

You need to put the filename in quotes:

  read.csv("12agosto.csv")

Duncan Murdoch
On 08/11/2021 8:59 p.m., cuevas at cicese.mx wrote: