User:Martinmspedersen: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
mNo edit summary
 
(32 intermediate revisions by the same user not shown)
Line 10: Line 10:
* [https://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_AWK Tasks not implemented in AWK]
* [https://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_AWK Tasks not implemented in AWK]
* [[Pi]]
* [[Write_entire_file]]
* [[Sudoku]]
* [[Bernoulli_numbers]]
* [https://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_ZX_Spectrum_Basic Tasks not implemented in ZX Spectrum Basic]
* [[Wireworld]]
* [[Attractive_numbers]]
* [[Combinations]]
* [[Comments]]
* [[Four_is_magic]]
* [[Reverse_words_in_a_string]]
* [https://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_R Tasks not implemented in R]
* [https://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_R Tasks not implemented in R]
* [[UTF-8_encode_and_decode]]
* [https://rosettacode.org/wiki/Binary_digits]
* [[Four_is_magic]]
* [[Attractive_numbers]]
* [[Bell_numbers]]
* [[Pell%27s_equation]]
* [[Carmichael_3_strong_pseudoprimes]]
* [[Cramer%27s_rule]]
* [[Cuban_primes]]
* [[Dutch_national_flag_problem]]
* [[Floyd-Warshall_algorithm]]
* [[Fractran]]
* [[Hilbert_curve]]
* [[Julia_set]]
* [[Levenshtein_distance]]
* [[Lychrel_numbers]]
* [[Miller–Rabin_primality_test]]
* [[Simple_database]]
* [[Sudoku]]
* [[Sum_to_100]]
* [[Total_circles_area]]
* [[Van_Eck_sequence]]
* [[Flipping_bits_game]]
* [[Fractal_tree]]
* [[Poker_hand_analyser]]
* [[Wireworld]]
* [[Vigen%C3%A8re_cipher/Cryptanalysis]]
* [[Validate_International_Securities_Identification_Number]]


----
<pre>dec2bin <- function(num) {
How to add R-code correctly:
sub("^0+","",paste(rev(as.integer(intToBits(num))), collapse = ""))
<pre>
}
=={{header|R}}==
<lang rsplus>

</lang>
{{out}}
<pre>
</pre>
</pre>

Latest revision as of 14:27, 30 January 2020