Re: [R] function import file csv Openair

2024-04-30 Thread Avi Gross
Unless the functionality to read in a CSV file had special functionality,
it probably is simple enough to read it in using other available functions
like read.csv() or others available.

Many packages have functions they later remove as not really needed or if
others are available.


On Tue, Apr 30, 2024, 8:37 AM Ivan Krylov via R-help 
wrote:

> Dear Evelina Ballato,
>
> В Tue, 30 Apr 2024 10:36:32 +
> Evelina Ballato  пишет:
>
> > In the Openair package it is possible to restore the import csv file
> > function?
>
> This question is best addressed to the maintainer of the package (see
> the output of maintainer("openair")) if not to their GitHub issues at
> .
>
> Searching the manual of the 'openair' package for "CSV" gives a few
> results, so it might be possible that the functionality is still there,
> just under a different name. The manual also says that the package uses
> utils::read.csv to import the CSV files.
>
> Which particular functionality you are currently missing from the
> openair package?
>
> If all else fails, you can go to
> https://cran.r-project.org/src/contrib/Archive/openair/ and try to
> install an older version of the package (2.11?) from there.
>
> --
> Best regards,
> Ivan
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] function import file csv Openair

2024-04-30 Thread Ivan Krylov via R-help
Dear Evelina Ballato,

В Tue, 30 Apr 2024 10:36:32 +
Evelina Ballato  пишет:

> In the Openair package it is possible to restore the import csv file
> function?

This question is best addressed to the maintainer of the package (see
the output of maintainer("openair")) if not to their GitHub issues at
.

Searching the manual of the 'openair' package for "CSV" gives a few
results, so it might be possible that the functionality is still there,
just under a different name. The manual also says that the package uses
utils::read.csv to import the CSV files.

Which particular functionality you are currently missing from the
openair package?

If all else fails, you can go to
https://cran.r-project.org/src/contrib/Archive/openair/ and try to
install an older version of the package (2.11?) from there.

-- 
Best regards,
Ivan

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] function import file csv Openair

2024-04-30 Thread Evelina Ballato
In the Openair package it is possible to restore the import csv file function? 
it has been removed in the latest versions.

Infinitely grateful

Evelina Ballato

Evelina Ballato
Arpa Piemonte
Dipartimento Territoriale
Piemonte Nord Est - sede di Omegna


Riservatezza/Confidentiality

Ai sensi del Regolamento UE 679/2016, del D. Legislativo n. 196/2003 nonch� del 
D. Legislativo n. 101/2018, le informazioni contenute in questo messaggio sono 
riservate e sono utilizzabili ad uso esclusivo del destinatario. Qualora il 
presente messaggio Le fosse pervenuto per errore, La preghiamo di eliminarlo, 
senza copiarlo e senza inoltrarlo a terzi e senza trattenerlo nei suoi archivi 
informatici o cartacei e di darne comunicazione all'indirizzo mail dal quale � 
pervenuto. Le ricordiamo che ogni violazione dei dati personali e punita dalla 
normativa sopra citata e, il contenuto del testo del presente messaggio, 
laddove utilizzato in violazione dei principi della riservatezza e segretezza 
della corrispondenza, � punito ai sensi delle leggi penali vigenti.

Pursuant to EU Regulation 679/2016, Legislative Decree no. 196/2003 and the 
Legislative Decree n. 101/2018, the information contained in this message is 
confidential and can be used for the exclusive use of the recipient. If this 
message was received by mistake, please delete it, without copying it and 
without forwarding it to third parties and without holding it in its computer 
or paper files and to notify the email address from which it was received. We 
remind you that any violation of personal data and punished by the 
aforementioned legislation and the content of the text of this message, when 
used in violation of the principles of confidentiality and secrecy of 
correspondence, is punished according to the current criminal laws.




[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [ESS] brace_linter

2024-04-30 Thread Ramon Diaz-Uriarte via ESS-help
Dear Mark,

Out of the box ("emacs -Q" and then "M-x package-initialize") I think there is 
no linting. At least for me, linting happens when I enable flycheck or flymake, 
so maybe flycheck or flymake are being enabled in your emacs-init.el file for 
all prog-modes? You can check this by

C-h v flymake-mode
C-h v flycheck-mode

in your R code buffer, to see which one of the above minor modes is active.

If you (or your config) enable flycheck or flymake in an R buffer, then the 
variables `flycheck-lintr-linters` (for flycheck)  and `ess-r-flymake-linters` 
(for flymake) control what linters are used. You could set whichever is 
relevant to your liking; for example, this keeps many linters quiet for me:

(setq flycheck-lintr-linters
  "with_defaults(object_name_linter = NULL, camel_case_linter = NULL, 
snake_case_linter = NULL, indentation_linter = NULL)")

But the most expedite procedure, if you do not need flycheck or flymake, could 
be to disable flycheck/flymake in ess-r-mode buffers. For example

(add-hook 'ess-r-mode-hook (lambda() (flycheck-mode -1)))

or

(add-hook 'ess-r-mode-hook (lambda() (flymake-mode -1)))

Note: I am assuming you are not using LSP; with LSP (at least with lsp-mode), 
things are slightly different. (And I do not use flymake, so the mentions to 
flymake above are guesses from analogy with flycheck).

Best,

R.


On Tue, 30-April-2024, at 07:29:33, Mark Leeds via ESS-help 
 wrote:
> Hi All: I use R and Emacs-ESS  and I recently upgraded to R 4.4 and Ubuntu
> 23.04.
>
> Since the 2 upgrades ( yesterday ), when I emacs an R file, at the bottom
> of the ESS session it says ( if I toggle at certain places in the file )
>
> "[brace_linter] Opening curly braces should never go on their own line and
> should always be followed by a new line. "
>
> So it seems like ESS is using linter to check my code but I don't want it
> to because it puts ugly green lines whereever I'm not following the rules
> it wants.  And I'm definitely not an emacs-lisp or ess intermediate. A
> beginner at most.  So thanks for your patience and help. I'm hoping that  I
> can put something in my .emacs file to override this behavior ?
>
>
> Mark
>
>   [[alternative HTML version deleted]]
>
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-31
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   r.d...@uam.es
   ramon.d...@iib.uam.es

https://ligarto.org/rdiaz
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [R] error when trying to install {rgdal} on Windows

2024-04-30 Thread Martin Maechler
[I have fixed your subject:  "text" is really on of the most
 unuseful subjects we've ever seen on this list ... ]

> Farzad Ghooshi on Sun, 28 Apr 2024 12:17:34 +0330 writes:

> Hi dear friend I use rgdal package for shape files.
> When installing the package, it gives me the following
> error, a picture of the error is attached.  What command
> should I run to fix this error?

Did you install the Rtools, in your case Rtools43

(If you'd use a current version of R, R 4.4.0  you'd needed
Rtools44 to install packages from source on Windows.

Note that we *DO NOT WANT* screen shot images, but rather simple
cut'n'paste plain text in this mailing list.

Best regards,
Martin

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.